<?php
include_once '../data/database_dal.php';

class RFQMadeDAL extends DatabaseDAL
{
    function update($id, $rfqID, $plasticType, $polymer, $supplier, $likeModule, $percentage, $inTime, $inUser)
    {
        $this->connect();
        $result = $this->mysqli->query("call pr_made_update('". $id ."', '". $rfqID ."', '". $plasticType ."', '". $polymer ."', '". $supplier ."', '". $likeModule ."',
                                                  '". $percentage ."', '". $inTime ."', '". $inUser ."')");
        if (!($result)) { die($this->mysqli->error); }
        $this->close();
        return $result;
    }
}

?>
